<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="include/header_css::header('新增-类别')"></head>
<body>
	<div id="dpLTE" class="container-fluid" v-cloak>
		<table class="form" id="form">
			<tr>
	            <td class="formTitle">类目代码<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="区域代码" v-model="supplycategory.categoryId" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
        	<tr>
                <td class="formTitle">上级类目</td>
                <td class="formValue">
                    <input type="text" class="form-control" placeholder="一级区域" v-model="supplycategory.parentName" checkexpession="NotNull" readonly="readonly">
                </td>
            </tr>
            <tr>
                <td class="formTitle">类目名称<font face="宋体">*</font></td>
                <td class="formValue">
                    <input type="text" class="form-control" placeholder="类目名称" v-model="supplycategory.name" isvalid="yes" checkexpession="NotNull">
                </td>
            </tr>
			<tr>
	            <td class="formTitle">层级<font face="宋体">*</font></td>
	            <td class="formValue">
					<label class="radio-inline">
						<input type="radio" name="type" value="0" v-model="supplycategory.type"/> 一级类目
					</label>
					<label class="radio-inline">
						<input type="radio" name="type" value="1" v-model="supplycategory.type" /> 二级类目
					</label>
				</td>
        	</tr>
			<tr>
	            <td class="formTitle">排序号<font face="宋体">*</font></td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="排序号" v-model="supplycategory.orderNum" isvalid="yes" checkexpession="NotNull">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">可用</td>
				<td class="formValue">
					<label class="radio-inline">
						<input type="radio" name="status" value="1" v-model="supplycategory.status"/> 正常
					</label>
					<label class="radio-inline">
                        <input type="radio" name="status" value="2" v-model="supplycategory.status"/> 禁用
                    </label>
				</td>
        	</tr>
			<tr>
	            <td class="formTitle">链接</td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="链接" v-model="supplycategory.url" isvalid="yes">
	            </td>
        	</tr>
			<tr>
	            <td class="formTitle">备注</td>
	            <td class="formValue">
					<input type="text" class="form-control" placeholder="备注" v-model="supplycategory.remark" checkexpession="NotNull">
	            </td>
        	</tr>
        	
		</table>
	</div>
    <div th:include="include/footer_js::footer"></div>
    <script th:src="@{/statics/js/base/supplycategory/add.js}"></script>
</body>
</html>